<h1>Каталог товарів:</h1>
<?php foreach ($products as $key => $product) : ?>
    <div class="catalog-list-item">
        <img src="<?= $product['img']; ?>"/>
        <div class="catalog-list-item-text">
            <h2><?= $key; ?></h2>
            <?= $product['desc']; ?>
        </div>
        <div class="catalog-list-item-cart">
            <h3><?= $product['price']; ?>.грн</h3><br/>
            <input type="submit" value="До корзини" />
        </div>        
    </div>
<?php endforeach; ?>
